home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / bumpcopter2.swf / scripts / frame_32 / PlaceObject2_279_24 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2006-06-13  |  274 b   |  11 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hitTest(_root.copter) && _root.copter._currentframe == 1)
  3.    {
  4.       _root.ySpeed = - _root.ySpeed;
  5.       _root.health.nextFrame();
  6.       _root.health.nextFrame();
  7.       _root.health.nextFrame();
  8.       _root.bonus -= 30;
  9.    }
  10. }
  11.